package com.ruoyi.insurance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构管理对象 company
 * 
 * @author ruoyi
 * @date 2024-09-08
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long companyId;

    /** 机构类别 */
    @Excel(name = "机构类别")
    private Long companyCategory;

    /** 公司名字 */
    @Excel(name = "公司名字")
    private String companyName;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companyPosition;

    /** 三合一码 */
    @Excel(name = "三合一码")
    private String organizationCode;

    /** 成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date foundTime;

    /** 公司邮箱 */
    @Excel(name = "公司邮箱")
    private String emailAddress;

    /** 法人 */
    @Excel(name = "法人")
    private String juridicalPerson;

    /** 法人电话 */
    @Excel(name = "法人电话")
    private String juridicalPersonPhone;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyCategory(Long companyCategory) 
    {
        this.companyCategory = companyCategory;
    }

    public Long getCompanyCategory() 
    {
        return companyCategory;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyPosition(String companyPosition) 
    {
        this.companyPosition = companyPosition;
    }

    public String getCompanyPosition() 
    {
        return companyPosition;
    }
    public void setOrganizationCode(String organizationCode) 
    {
        this.organizationCode = organizationCode;
    }

    public String getOrganizationCode() 
    {
        return organizationCode;
    }
    public void setFoundTime(Date foundTime) 
    {
        this.foundTime = foundTime;
    }

    public Date getFoundTime() 
    {
        return foundTime;
    }
    public void setEmailAddress(String emailAddress) 
    {
        this.emailAddress = emailAddress;
    }

    public String getEmailAddress() 
    {
        return emailAddress;
    }
    public void setJuridicalPerson(String juridicalPerson) 
    {
        this.juridicalPerson = juridicalPerson;
    }

    public String getJuridicalPerson() 
    {
        return juridicalPerson;
    }
    public void setJuridicalPersonPhone(String juridicalPersonPhone) 
    {
        this.juridicalPersonPhone = juridicalPersonPhone;
    }

    public String getJuridicalPersonPhone() 
    {
        return juridicalPersonPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyCategory", getCompanyCategory())
            .append("companyName", getCompanyName())
            .append("companyPosition", getCompanyPosition())
            .append("organizationCode", getOrganizationCode())
            .append("foundTime", getFoundTime())
            .append("emailAddress", getEmailAddress())
            .append("juridicalPerson", getJuridicalPerson())
            .append("juridicalPersonPhone", getJuridicalPersonPhone())
            .toString();
    }
}
